package com.liantong.client.po;


/**
 * StatusCode is used for response of client
 */
public enum FrameworkStatusCode implements StatusCodeInterface {
	SUCCESS(0, "success"), SYSTEM_ERROR(-1, "system.error");

	private int value;
	private String msgKey;

	FrameworkStatusCode(int value, String msgKey) {
		this.value = value;
		this.msgKey = msgKey;
	}

	public int getValue() {
		return value;
	}

	public String getDesc() {
		return msgKey;
	}

}
